mixin rect(params)
  -var {width=500, height=500, opacity=1, fill='gray'} = params || {}
  svg(width=width, height=height style=`opacity:${opacity}`)
    rect(x=0, y=0, width=width height=height fill=fill)
      block
